<%--
  Created by IntelliJ IDEA.
  User: 张国庆
  Date: 2019/9/16
  Time: 9:44
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>管理员页面</title>
    <link href="${pageContext.request.contextPath}/layui/css/layui.css" type="text/css" rel="stylesheet">
    <script src="${pageContext.request.contextPath}/js/jquery-1.12.4.js" type="text/javascript"></script>
    <script src="${pageContext.request.contextPath}/layui/layui.js" type="text/javascript"></script>
    <script type="text/javascript">
        layui.use(["layer","table","form"],function () {
            var layer=layui.layer;
            var table=layui.table;
            var form=layui.form;
            table.render({
                elem:"#myTable",
                url:"admin/showPageAdmin",
                page:true,
                cols:[[
                    {title:"编号",field:"id"},
                    {title:"编号",field:"username"},
                    {title:"编号",field:"password"}
                ]]
            })
        })
    </script>
</head>
<body>
<table id="myTable"></table>
</body>
</html>
